package com.sixth.controller;

import com.sixth.service.OrderService;
import com.sixth.until.CommonResult;
import com.sixth.vo.DateVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: self-tui-education
 * @description:
 * @author: 厉泽禄
 * @create: 2022-04-21 17:04
 **/
@RestController
@RequestMapping("stat/order")
public class OrderController {
    @Autowired
    private OrderService orderService;

    @PostMapping("queryAllOrderBang")
    public CommonResult queryAllOrderBang(@RequestBody DateVo dateVo){
        return orderService.queryAllOrderBang(dateVo);
    }
}
